package cn.tedu.yushouge.pet.adopt.service;

import cn.tedu.yushouge.commons.pojo.vo.PageData;
import cn.tedu.yushouge.pet.adopt.pojo.param.AdoptAddNewParam;
import cn.tedu.yushouge.pet.adopt.pojo.param.AdoptUpdateInfoParam;
import cn.tedu.yushouge.pet.adopt.pojo.vo.AdoptListItemVO;
import cn.tedu.yushouge.pet.adopt.pojo.vo.AdoptListVO;
import cn.tedu.yushouge.pet.adopt.pojo.vo.AdoptStandardVO;
import org.springframework.transaction.annotation.Transactional;

@Transactional
public interface IAdoptService {

    void addNew(AdoptAddNewParam adoptAddNewParam);

    void deleteById(Long id);

    void updateInfoById(Long id, AdoptUpdateInfoParam adoptUpdateInfoParam);

    AdoptStandardVO getStandardById(Long id);

    PageData<AdoptListVO> list(Integer pageNum);

    PageData<AdoptListVO> list(Integer pageNum,Integer pageSize);

    void agreeAdoptById(Long id);

    void disAgreeAdoptById(Long id,String remark);
}
